<template>
  <view class="container">
    <u-navbar title="申请结果" :autoBack="true"></u-navbar>
    <view class="result-container">
      <!-- 成功图标 -->
      <view class="success-icon">
        <!-- <u-icon name="checkmark-circle" color="#07c160" size="80"></u-icon> -->
		<image src="/static/images/success.png" mode="widthFix" style="width: 100px;"></image>
      </view>
      
      <!-- 操作提示 -->
      <view class="operation-tip">
        <view class="tip-title">操作提示</view>
        <view class="tip-content">申请已提交，我们会在15个工作日内
完成账户注销审核。</view>
      </view>
      
      <!-- 返回按钮 -->
      <button class="return-btn" @click="handleReturn">返回首页</button>
    </view>
  </view>
</template>

<script>
export default {
  methods: {
    handleReturn() {
      uni.reLaunch({
        url: '/pages/index/index'
      });
    }
  }
}
</script>

<style lang="scss" scoped>
.container {
  padding: 0;
  height: 100vh;
  background-color: #f7f7f7;
}

.result-container {
  width: 100%;
  max-width: 100%;
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  margin: 30px 0;
  text-align: center;
  animation: zoomIn 0.5s ease;
}

.operation-tip {
  width: 80%;
  margin-bottom: 40px;
  text-align: center;
}

.tip-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.tip-content {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  padding: 0 10px;
}

.return-btn {
  width: 80%;
  background-color: #017bff;
  color: white;
  border-radius: 25px;
  font-size: 16px;
  height: 50px;
  line-height: 50px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
  transition: all 0.3s;
  
  &:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
</style>